package com.ldzy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
//@Getter
//@Setter
@Accessors(chain = true)
@TableName("t_user")
public class User   implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "user_id",type = IdType.AUTO)
    private Long userId;
    @TableField("user_name")
    private  String userName;
    @TableField("user_sex")
    private  String userSex;
    @TableField("user_birth")
    private  String userBirth;
    @TableField("user_phone")
    private  String userPhone;
    @TableField("user_image")
    private  String userImage;
    @TableField("user_individuation")
    private  String userIndividuation;
    @TableField("user_account")
    private  String userAccount;
    @TableField("user_password")
    private  String userPassword;
    @TableField("user_money")
    private  double userMoney;
}
